<div class="ipconfigs form">
<?php echo $this->Form->create('Ipconfig');?>
	<fieldset>
 		<legend><?php __('Add Ipconfig'); ?></legend>
	<?php
		if($this->params['pass']==null){
		echo $this->Form->input('network_id');}
                else {
                    echo $this->Form->hidden('network_id', array('value' => $this->params['pass']['0']));}
		echo $this->Form->input('name');
		echo $this->Form->input('description');
		echo $this->Form->input('MAC');
		echo $this->Form->input('ipaddress');
		echo $this->Form->input('gateway');
		echo $this->Form->input('dnsserver');
		echo $this->Form->input('dnsdomain');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>